package com.aiti.lulian.mapper.gxmh;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.gxmh.dto.GxmhCustomizeFormQueryDto;
import com.aiti.lulian.gxmh.entity.GxmhCustomizeForm;
import com.aiti.lulian.gxmh.vo.GxmhCustomizeFormVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GxmhCustomizeFormMapper extends SuperMapper<GxmhCustomizeForm> {

    List<GxmhCustomizeFormVo> queryCustomizeFormList(IPage<GxmhCustomizeFormVo> page, @Param("dto") GxmhCustomizeFormQueryDto queryDto);

    List<String> queryPolicyIdListByFormId(@Param("formId") String formId);

    Integer queryPolicyDeclareCount(@Param("policyIdList") List<String> policyIdList);
}
